//
//  PublicVM.h
//  Common
//
//  Created by guoshiqing on 2018/5/31.
//

#import "BaseViewModel.h"

@interface PublicVM : BaseViewModel

// 【文件上传】获取token
- (void)getTokenFromServerWithFileType:(NSString *)type;

// 【文件上传】上传文件
- (void)sendFileWithToken:(NSString *)token andFilePath:(NSString *)filePath andKey:(NSString *)key withSuccessBlock:(StringBlock)success andProgressBlock:(ProgressBlock)progress andFailureBlock:(StringBlock)failure;

// h5测试页面
- (void)requestH5Test;

// 版本更新检查
- (void)checkVersion:(NSString *)currentVersion;

@end
